// 导入mongoose
const mongoose = require('mongoose')

let UserSchema = new mongoose.Schema({
   username: String,
   password: String
})

let UserModel = mongoose.model('users', UserSchema)

module.exports = UserModel